package dao;

public class AdminDao extends BaseDao<Admin> {
    public Admin login(String username,String password) {
        String sql = "SELECT * FROM admin WHERE username=? AND PASSWORD=?;";
        return myselect_one(sql,Admin.class,username,password );
    }
}
